package com.example.model;

import java.time.OffsetDateTime;

public class ErrorResponse {
	private String code;
	private String message;
	private OffsetDateTime timestamp = OffsetDateTime.now();

	public ErrorResponse(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public String getMessage() {
		return message;
	}

	public OffsetDateTime getTimestamp() {
		return timestamp;
	}
} 